package com.buaat.volunteer.service.def;

import org.springframework.beans.factory.annotation.Autowired;

import com.alibaba.dubbo.config.annotation.Service;
import com.buaat.volunteer.service.IHelloService;

@Service
public class HelloService implements IHelloService {

	@Autowired
	private UsersDAO usersDAO;
	
	@Override
	public String hello(String name) {
		name = usersDAO.findById(1l).getLoginid();
		name = name + ",您好！";
		return name;
	}

}
